package com.ctshk.rpc.certificate.dto;

import com.ctshk.common.constant.ElasticSearchConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @author liushuai
 */
@Data
@ApiModel(value="CertificateDTO对象", description="证件dto")
@Document(indexName = ElasticSearchConstant.CERTIFICATE_INDEX)
public class CertificateDTO implements Serializable {
    @ApiModelProperty(value = "证件信息id")
    private Long id;

    @ApiModelProperty(value = "业务类型id")
    private Long businessTypeId;

    @ApiModelProperty(value = "业务类型名称")
    private String businessTypeName;

    @ApiModelProperty(value = "业务名称")
    private String name;
}
